package org.jeecg.modules.ops_assets.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;

/**
 * @Description: 电子健康卡设备管理
 * @Author: jeecg-boot
 * @Date:   2019-12-19
 * @Version: V1.0
 */
@Data
@TableName("ops_assets")
public class OpsAssets implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    private String id;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    private String createBy;
	/**创建日期*/
	@Excel(name = "创建日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
	/**更新人*/
	@Excel(name = "更新人", width = 15)
    private String updateBy;
	/**更新日期*/
	@Excel(name = "更新日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
	/**所属部门*/
	@Excel(name = "所属部门", width = 15)
    private String sysOrgCode;
	/**巡检时间*/
	@Excel(name = "巡检时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date patrolTime;
	/**巡检人*/
	@Excel(name = "巡检人", width = 15)
    private String patrolPerson;
	/**资产名称*/
	@Excel(name = "资产名称", width = 15)
    private String assetName;
	/**资产类型*/
	@Excel(name = "资产类型", width = 15)
	@Dict(dicCode = "assets_type")
    private String assetType;
	/**序列号*/
	@Excel(name = "序列号", width = 15)
    private String serialNumber;
	/**使用科室*/
	@Excel(name = "使用科室", width = 15)
    private String departmentName;
	/**责任人*/
	@Excel(name = "责任人", width = 15)
    private String personName;
	/**资产图片*/
	@Excel(name = "资产图片", width = 15)
    private String assetPicture;
}
